package algorithms.nchance;
import configuration.Configuration;
/**
* @author Nodirjon Siddikov
*/
public class GlobalCacheBlock
{
//instance variables
private int _blockID; //the block ID
private int _size; //size of the global cache block
//constructor
public GlobalCacheBlock(int blockID)
{
_blockID = blockID;
_size = Configuration.globalCacheBlockSize; //read from config file
}
//get the block ID
public int getBlockID()
{
return _blockID;
}
//returns the size of the global cache block
public int getSize()
{
return _size; //in KB
}
}